#ifndef TINX_TIMER_H
#define TINX_TIMER_H

#include <tinx/task.h>
#include <tinx/list.h>

typedef struct timer_t
{
    u32 timeout;
    task_t *task;
    list_node_t node;
    void (*handler) (timer_t, int);
} timer_t;

#endif